package com.yc.eduservice.service;

import com.yc.eduservice.model.dto.UserSelectCourseDTO;
import com.yc.eduservice.model.entities.CourseEntity;

import java.util.List;
import java.util.Map;

public interface StudentService {



    void editCourse(int id, String courseName,String courseCode,int teacherId,
                    int sectionCount,String courseTime,int maxStudentCount,
                    String courseProfile,String textbook,int creditsCount,int allScore,int passScore);

    int deleteCourse(int id);

    CourseEntity viewCourse(int id);

    Map viewSelectedStudents(int id);
    List<UserSelectCourseDTO> selectedCourses(int studentId);

    String  applyReExam(int courseId,int studentId);

    Map myScore(int studentId);

    int selectCourse(int courseId,int studentId);
    int cancelCourse(int courseId,int studentId);
    UserSelectCourseDTO selectedCourseInfo(Integer studentId,Integer courseId);
}
